package com.baor.order.service;

import java.util.List;
import com.baor.order.domain.TShopaddress;

/**
 * 商家地址Service接口
 * 
 * @author ruoyi
 * @date 2025-07-18
 */
public interface ITShopaddressService 
{
    /**
     * 查询商家地址
     * 
     * @param shopaddressId 商家地址主键
     * @return 商家地址
     */
    public TShopaddress selectTShopaddressByShopaddressId(Long shopaddressId);

    /**
     * 查询商家地址列表
     * 
     * @param tShopaddress 商家地址
     * @return 商家地址集合
     */
    public List<TShopaddress> selectTShopaddressList(TShopaddress tShopaddress);

    /**
     * 新增商家地址
     * 
     * @param tShopaddress 商家地址
     * @return 结果
     */
    public int insertTShopaddress(TShopaddress tShopaddress);

    /**
     * 修改商家地址
     * 
     * @param tShopaddress 商家地址
     * @return 结果
     */
    public int updateTShopaddress(TShopaddress tShopaddress);
//    删除商家地址
    public int deleteTShopaddress(TShopaddress tShopaddress);

    /**
     * 批量删除商家地址
     * 
     * @param shopaddressIds 需要删除的商家地址主键集合
     * @return 结果
     */
    public int deleteTShopaddressByShopaddressIds(Long[] shopaddressIds);

    /**
     * 删除商家地址信息
     * 
     * @param shopaddressId 商家地址主键
     * @return 结果
     */
    public int deleteTShopaddressByShopaddressId(Long shopaddressId);
}
